#!/bin/sh
# put other system startup commands here
[ `which /usr/local/etc/init.d/dbus ` ] && /usr/local/etc/init.d/dbus start 
[ `which connmand` ] && connmand -r
[ `which eeze_scanner` ] && (sleep 0.7 && eeze_scanner) &
if [ `which amixer` ];then
	amixer sset Master unmute
	amixer sset Master 40
	amixer sset PCM unmute
	amixer sset PCM 28
fi
#if [ ! -e /etc/sysconfig/noondemandicons ]; then
#INSTALLED=/usr/local/tce.installed
#ONDEMAND="$TCEDIR"/ondemand
#for F in `ls -1 "$ONDEMAND"/*.img 2>/dev/null`; do
#  IMG="${F##/*/}"
#  APPNAME="${IMG%.img}"
#  if [ ! -e "$INSTALLED"/"$APPNAME" ]; then
#    if ! grep -qw "^t: *${APPNAME}$" "${TCEDIR}"/xwbar.lst 2>/dev/null; then
#      echo "i: $ONDEMAND/$IMG" >> "$TCEWBAR"
#      echo "t: $APPNAME" >> "$TCEWBAR"
#      echo "c: $ONDEMAND/$APPNAME" >> "$TCEWBAR"
#    fi
#  fi
#done
#fi
